class Person():
    name = ''
    age = 0

    def __init__(self, name, age):
        self.name = name
        self.age = age

    def __add__(self, other):
        return [self, other]

    def __repr__(self):
        return self.name

    def __mul__(self, other):
        return self.age*other.age


# p1 = Person('lisi', 18)
# p2 = Person('zhangsan', 20)
#
# print(p1 + p2)
# print(p1 * p2)

class Int():
    i = 0
    def __init__(self, i):
        self.i = i

    def __add__(self, other):
        return self.i - other.i

i1 = Int(1)
i2 = Int(2)
print(i1+i2)